package com.zhiche.lisa.bms.dao.model.bill;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 异常账单
 * </p>
 *
 * @author liuanshun
 * @since 2018-09-15
 */
@TableName("lisa_exception_bill")
public class ExceptionBill extends Model<ExceptionBill> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     *  异常类型：0、客户账单 1、应付账单
     */
	@TableField("bill_tyep")
	private String billTyep;
    /**
     * 对应客户账单id\应付账单id
     */
	@TableField("bill_id")
	private Long billId;
    /**
     * 对应客户账单\应付账单编码
     */
	@TableField("bill_code")
	private String billCode;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 创建人
     */
	private Long creator;
    /**
     * 是否上传
     */
	@TableField("is_uploading")
	private Integer isUploading;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBillTyep() {
		return billTyep;
	}

	public void setBillTyep(String billTyep) {
		this.billTyep = billTyep;
	}

	public Long getBillId() {
		return billId;
	}

	public void setBillId(Long billId) {
		this.billId = billId;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Integer getIsUploading() {
		return isUploading;
	}

	public void setIsUploading(Integer isUploading) {
		this.isUploading = isUploading;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ExceptionBill{" +
			", id=" + id +
			", billTyep=" + billTyep +
			", billId=" + billId +
			", billCode=" + billCode +
			", gmtCreate=" + gmtCreate +
			", creator=" + creator +
			", isUploading=" + isUploading +
			"}";
	}
}
